package com.supersoul.myself.enums;


import lombok.Getter;

@Getter
public enum BlogEnum {


    PUBLIC_BLOG(1, "公开"),
    PRIVATE_BLOG(2, "私密"),
    NOT_PUBLISH(1, "未发布"),
    ALREADY_PUBLISH(2, "已发布")
    ;

    private int code;
    private String desc;

    BlogEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
